package com.itheima.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.GeoMapDao;
import com.itheima.service.GeoMapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Map;

@Service(interfaceClass = GeoMapService.class)
@Transactional
public class GeoMapServiceImpl implements GeoMapService {

    @Autowired
    private GeoMapDao geoMapDao;


    @Override
    public List<Map<String, Object>> findAll() {
        return geoMapDao.findAll();
    }
}
